package com.vpclub.vpclubdemo.Services.impl;

import com.vpclub.vpclubdemo.model.Category;
import com.vpclub.vpclubdemo.dao.CategoryDAO;
import com.vpclub.vpclubdemo.Services.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CategoryServiceImp implements CategoryService {

    @Autowired
    private CategoryDAO categoryDAO;
    public int insert(Category record) {
       return categoryDAO.insert(record);
    }
}
